package com.bestcem.xm.survey.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * @TableName ds_survey_extsurvey
 */
@TableName(value ="ds_survey_extsurvey")
@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyExtSurvey extends BaseEntity2 {
    /**
     * 
     */
    @TableId(value = "id")
    private String id;

    /**
     * 外部来源，用于判断签名方式
     */
    @TableField(value = "source")
    private String source;

    /**
     * 重定向地址
     */
    @TableField(value = "redirect")
    private String redirect;

    /**
     * 参数
     */
    @TableField(value = "data")
    private String data;

    /**
     * 密钥
     */
    @TableField(value = "_secret")
    private String secret;
}